<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>赛博空间 | Cyber Style</title>
    <style>
        /* 基础重置与字体 */
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
            font-family: 'Segoe UI', sans-serif;
        }

        /* 动态渐变背景 */
        body {
            min-height: 100vh;
            background: linear-gradient(-45deg, #ee7752, #e73c7e, #23a6d5, #23d5ab);
            background-size: 400% 400%;
            animation: gradientBG 15s ease infinite;
            display: flex;
            justify-content: center;
            align-items: center;
            overflow-x: hidden;
        }

        /* 主容器 */
        .cyber-container {
            position: relative;
            width: 80%;
            max-width: 1200px;
            padding: 2rem;
            backdrop-filter: blur(10px);
            background: rgba(255, 255, 255, 0.1);
            border-radius: 20px;
            border: 2px solid rgba(255,255,255,0.2);
            box-shadow: 0 0 30px rgba(0,255,255,0.3);
        }

        /* 霓虹标题 */
        .cyber-title {
            font-size: 4rem;
            text-align: center;
            background: linear-gradient(45deg, #ff00ff, #00ffff);
            -webkit-background-clip: text;
            background-clip: text;
            color: transparent;
            text-shadow: 0 0 10px rgba(255,255,255,0.5);
            margin-bottom: 2rem;
            animation: neonPulse 2s infinite alternate;
        }

        /* 悬浮卡片 */
        .cyber-card {
            background: rgba(0, 0, 0, 0.7);
            padding: 2rem;
            border-radius: 15px;
            margin: 1.5rem;
            transition: all 0.3s ease;
            position: relative;
            overflow: hidden;
        }

        .cyber-card:hover {
            transform: translateY(-10px);
            box-shadow: 0 0 30px rgba(0,255,255,0.5);
        }

        .cyber-card::before {
            content: '';
            position: absolute;
            top: 0;
            left: -100%;
            width: 100%;
            height: 100%;
            background: linear-gradient(
                    90deg,
                    transparent,
                    rgba(255,255,255,0.2),
                    transparent
            );
            transition: 0.5s;
        }

        .cyber-card:hover::before {
            left: 100%;
        }

        /* 数据网格特效 */
        .cyber-grid {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: repeating-linear-gradient(
                    0deg,
                    transparent 0,
                    transparent 2px,
                    rgba(0,255,255,0.1) 2px,
                    rgba(0,255,255,0.1) 4px
            );
            pointer-events: none;
            z-index: -1;
        }

        /* 动态按钮 */
        .cyber-button {
            padding: 1rem 2rem;
            background: transparent;
            border: 2px solid #0ff;
            color: #0ff;
            font-size: 1.2rem;
            cursor: pointer;
            position: relative;
            overflow: hidden;
            transition: 0.3s;
            margin: 1rem;
        }

        .cyber-button::before {
            content: '';
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            width: 0;
            height: 0;
            background: rgba(0,255,255,0.1);
            border-radius: 50%;
            transition: 0.3s;
        }

        .cyber-button:hover {
            background: rgba(0,255,255,0.1);
            box-shadow: 0 0 15px #0ff;
        }

        .cyber-button:hover::before {
            width: 300px;
            height: 300px;
        }

        /* 关键帧动画 */
        @keyframes gradientBG {
            0% { background-position: 0% 50%; }
            50% { background-position: 100% 50%; }
            100% { background-position: 0% 50%; }
        }

        @keyframes neonPulse {
            from { text-shadow: 0 0 10px rgba(255,255,255,0.5); }
            to { text-shadow: 0 0 20px rgba(255,255,255,0.8),
            0 0 30px rgba(255,255,255,0.6); }
        }

        /* 响应式设计 */
        @media (max-width: 768px) {
            .cyber-container {
                width: 95%;
            }

            .cyber-title {
                font-size: 2.5rem;
            }
        }
    </style>
</head>
<body>
<div class="cyber-container">
    <div class="cyber-grid"></div>
    <h1 class="cyber-title">CYBERSPACE 2077</h1>

    <div class="cyber-card">
        <h2 style="color: #0ff;">系统状态</h2>
        <p style="color: #fff; margin: 1rem 0;">
            > 神经连接已建立<br>
            > 加密协议已启用<br>
            > 量子通道稳定
        </p>
    </div>

    <div class="cyber-card">
        <h2 style="color: #f0f;">数据面板</h2>
        <p style="color: #fff; margin: 1rem 0;">
            █ 内存占用: 78%<br>
            █ 带宽使用: 1.2Tbps<br>
            █ 安全等级: MAX
        </p>
        <button class="cyber-button">启动超频</button>
        <button class="cyber-button">终止进程</button>
    </div>

    <div class="cyber-card">
        <h2 style="color: #ff0;">网络拓扑</h2>
        <div style="position: relative; height: 200px; background: rgba(0,0,0,0.5);">
            <!-- 这里可以添加Canvas动画 -->
        </div>
    </div>
</div>

<script>
    // 添加动态交互
    document.querySelectorAll('.cyber-button').forEach(button => {
        button.addEventListener('click', function() {
            this.style.transform = 'scale(0.95)';
            setTimeout(() => {
                this.style.transform = 'scale(1)';
            }, 100);
        });
    });

    // 背景颗粒效果
    const container = document.querySelector('.cyber-container');
    for(let i = 0; i < 100; i++) {
        const dot = document.createElement('div');
        dot.style.position = 'absolute';
        dot.style.width = '2px';
        dot.style.height = '2px';
        dot.style.background = 'rgba(0,255,255,0.5)';
        dot.style.left = Math.random() * 100 + '%';
        dot.style.top = Math.random() * 100 + '%';
        container.appendChild(dot);
    }
</script>
</body>
</html>